/* 亮色主题变量 */
:root {
  --bg-color: #f5f0e6; /* 柔和的米色背景 */
  --text-color: #333333;
  --feature-bg: #f5f5f5;
  --header-bg: #f8f8f8;
  --border-color: #e0e0e0;
}

/* 暗色主题变量 */
[data-theme="dark"] {
  --bg-color: #2a241c; /* 深棕色背景 */
  --text-color: rgba(255, 255, 255, 0.87);
  --feature-bg: #3a3228;
  --header-bg: #1a1a1a;
  --border-color: #444444;
}

body {
  margin: 0;
  display: flex;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
  background-color: var(--bg-color);
  /* 添加更明显的气泡效果背景 */
  background-image: 
    radial-gradient(rgba(217, 200, 169, 0.4) 3px, transparent 3px),
    radial-gradient(rgba(217, 200, 169, 0.3) 2px, transparent 2px),
    radial-gradient(rgba(217, 200, 169, 0.2) 1px, transparent 1px);
  background-size: 60px 60px, 40px 40px, 20px 20px;
  background-position: 0 0, 30px 30px, 10px 10px;
  animation: bubbleFloat 15s linear infinite;
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

/* 更明显的气泡浮动动画 */
@keyframes bubbleFloat {
  0% {
    background-position: 0 0, 30px 30px, 10px 10px;
  }
  100% {
    background-position: 0 1200px, 30px 1230px, 10px 1210px;
  }
}

#app {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 其他原有样式保持不变 */

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}

a:hover {
  color: #535bf2;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}